package main

import (
	"certificate/bootstrap"
	"github.com/spf13/viper"
	"strconv"
)

func main() {
	bootstrap.InitConfig()

	router := bootstrap.InitRouter()
	port := strconv.Itoa(viper.GetInt("server.port"))
	err := router.Run(":" + port)
	if err != nil {
		return
	}

}
